<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>发布页面</title>
    <link rel="stylesheet" href="../css/fabu.css">
    <script>
        function goBack() {
            // 直接使用history.back()回退到上一页，不设置默认页面
            history.back();
        }
    </script>
</head>
<body>
    <div class="container">
        <div class="header">
            <button class="back-button" onclick="goBack()">←</button>
        </div>
        <div class="content">
            <input type="text" class="title-input" placeholder="请输入标题">
            <div class="separator"></div>
            <div class="content-area">
                <div class="text-input" contenteditable="true">正文</div>
                <button class="upload-button">图片/视频</button>
            </div>
            <button class="publish-button">发布</button>
        </div>
    </div>
    <script src="../js/fabu.js"></script>
</body>
</html>